﻿///////////////////////////////////////////////////////
//
// XDesigner.ORM 
//
// autohr : yuans
//
// date: 2011-2-23
//
// email  : yyf9989@hotmail.com
// 
//
///////////////////////////////////////////////////////

using System;
using System.Collections.Generic;
using System.Text;

namespace XDesigner.ORM
{
    public enum ORMRelationStyle
    {
        /// <summary>
        /// No relation
        /// </summary>
        None,
        /// <summary>
        /// Auto detect
        /// </summary>
        Auto,
        /// <summary>
        /// One to one relation
        /// </summary>
        OneToOne,
        /// <summary>
        /// One to many relation
        /// </summary>
        OneToMany,
        /// <summary>
        /// One to many relation , use Table_EntryRelation table to sort relation information.
        /// </summary>
        OnetoManyExt ,
        /// <summary>
        /// One to many relation, field sort child record key list.
        /// </summary>
        OneToManyWithKeyList
    }

}
